﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Agro.Models {
    public partial class T_User {
        /// <summary>
        /// 是否为管理员
        /// </summary>
        public bool IsAdmin() {
            return this.User_Code.Equals("0001");
        }
        /// <summary>
        /// 0 管理用户 1 龙头企业
        /// </summary>
        public int UserType {
            get;
            set;
        }
    }

    public class T_NYCYHLTQYNB {

        public int SubmitInfoID { get; set; }
        public List<T_NYCYHLTQYNB1> T_NYCYHLTQYNB1_List { get; set; }
        public List<T_NYCYHLTQYNB2> T_NYCYHLTQYNB2_List { get; set; }
        public List<T_NYCYHLTQYNB3> T_NYCYHLTQYNB3_List { get; set; }
        public List<T_NYCYHLTQYNB4> T_NYCYHLTQYNB4_List { get; set; }
        public List<T_NYCYHLTQYNB5> T_NYCYHLTQYNB5_List { get; set; }
        public List<T_NYCYHLTQYNB6> T_NYCYHLTQYNB6_List { get; set; }
        public List<T_NYCYHLTQYNB7> T_NYCYHLTQYNB7_List { get; set; }
    }
}
